
#docs-page-ionicons main,
#page-ionicons main {

  .download-link, .search {
    margin-right: auto;
    margin-left: auto;
    max-width: 200px;
    width: 100%;
  }
  .download-link {
    margin-top: 60px;
    margin-bottom: 10px;
    a {
      display: block;
      padding: 12px 0;
      border: 2px solid #4F8EF7;
      border-radius: 4px;
      background-color: white;
      text-decoration: none;
      font-weight: bold;
      font-size: 22px;
      &:hover {
        background: #4F8EF7;
        color: white;
      }
    }
  }

  .version {
    margin: 2px auto;
    color: #ccc;
    font-size: 12px;
  }

  form.search {
    margin: 28px auto 52px;
    position: relative;
    &:before {
      font-family: "Ionicons";
      -webkit-font-smoothing: antialiased;
      content: "\f4a5";
      font-size: 20px;
      font-weight: 800;
      color: $dark-grey;
      position: absolute;
      top: 6px;
      left: 26px;
    }
    input {
      border-radius: 35px;
      border: 1px solid $light-grey;
      padding: 8px 8px 8px 56px;
      color: $blackish;
      // height: 56px;
      font-size: 16px;
      box-shadow: none;
      &::-webkit-input-placeholder { /* WebKit, Blink, Edge */
        color: $grey;
      }
      &::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: $grey;
      }
      &:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: $grey;
      }
      &:focus,
      &:hover,
      &:active {
        border-color: $blue;
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
        background: #fdfdfd;
        outline: none;
      }
    }
  }

  #icon-panel {
    position: absolute;
    top: -9999px;
    left: -9999px;
    padding: 10px 2px;
    width: 260px;
    height: 58px;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    text-align: center;
    font-size: 14px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    opacity: .96;
  }

  #icon-name {
    display: block;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    font-size: 14px;
    text-align: center;
    width: 100%;
    border: 0;
  }

  #icon-code {
    padding-top: 10px;
    font-size: 12px;
  }

  #icons {
    transition: opacity .2s ease-in-out;
  }

  section.search-matches {
    all: initial;
  }
  section.search-init {
    all: initial;
    opacity: 0.15;
  }
  section.search-nil {
    all: initial;
  }

  section#icons{
    a {
      color: #373737;
    }
    ul {
      display: block;
      list-style-type: none;
      cursor: pointer;
      border: 2px solid #fff;
      &:hover {
        border: 2px solid #EBF0F6;
        border-radius: 2px;
      }
      &.icon-labels {
        border: none;
        cursor: default;
        li,
        li:first-child {
          font-size: 16px;
          font-weight: 500;
          font-family: "Avenir Next", "Nunito", "Helvetica Neue", Helvetica, sans-serif;
        }
      }
      li {
        display: inline-block;
        width: 23%;
        position: relative;
        z-index: 0;
        padding: 22px 10px;
        border-radius: 4px;
        list-style: none;
        text-align: center;
        font-weight: normal;
        font-size: 40px;
        cursor: pointer;
        vertical-align: middle;
        &:first-child {
          font-size: 14px;
          font-weight: 400;
          font-family: "Avenir Next", "Nunito", "Helvetica Neue", Helvetica, sans-serif;

        }
      }
    }
  }

  .modal {
    text-align: center;
    opacity: 0;
    transform: scale3d(.5,.5,1);
    transition: opacity .2s,
                transform .4s cubic-bezier(0.155, 1.105, 0.295, 1.12);
    &:before {
      display: inline-block;
      vertical-align: middle;
      content: " ";
      height: 100%;
    }
    .modal-dialog {
      display: inline-block;
      vertical-align: middle;
      text-align: left;
      margin: 30px auto;
      transform: translate3d(0, 0, 0);
    }
    &.in {
      opacity: 1;
      transform: scale3d(1,1,1);
    }
    .modal-content {
      border-radius: 4px;
      border: none;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .modal-body {
      padding: 15px 30px;
    }
    button.close {
      position: absolute;
      top: -10px;
      right: -10px;
      background: white;
      border: none;
      border-radius: 50%;
      height: 30px;
      width: 30px;
      box-shadow: 1px 1px 5px rgba(0,0,0,.5);
      outline: none;
      span{
        font-size: 28px;
        top: -7px;
        right: 0;
        position: relative;
        color: black;
      }
    }
    h2 {
      margin: 0;
      font-size: 24px;
      padding-top: 10px;
    }
    h4 {
      margin: 50px 0 20px;
      font-size: 18px;
      display: block;
      line-height: 22px;
      height: 22px;
      vertical-align: middle;
    }
    ul.modal-icons {
      display: block;
      list-style-type: none;
      padding-left: 0;
      margin-top: 25px;
      li{
        width: 180px;
        display: inline-block;
        padding-right: 15px;
        &:last-child {
          padding-right: 0;
        }
        code,
        i{
          display: block;
          text-align: center;
        }
        code {
          width: auto;
        }
        i {
          font-size: 32px;
        }
      }
    }
    pre code {
      margin: -60px -10px;
    }
    code.hljs {
      white-space: pre-wrap;
    }
  }



  h4.modal-subtitle {
  }

  a {
    display: block;
    height: auto;
    width: auto;
  }


}
.modal-backdrop{
  background-color: #0f1e37;
}
